package znbkTestPaperNtxl.savePaper;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by Administrator on 2018\2\28 0028.
 */

public class SaveTrainingDifficultProblemsModel {

//    public  static Gson gson;
//
//    /**
//     * @组装难题训练单个试题保存数据
//     * QuesID : CCAD05040DHA106007K
//     * StuID : LgStudent
//     * StuName : 张三
//     * SubjectID : C
//     * StageNo : C
//     * ItemFrom : 4
//     * TypeID : N
//     * TypeName : 词汇填空
//     * QuesBrief : 我是一个粉刷匠
//     * StuAnswer : 哈哈哈
//     * CorrectRate : 0.7
//     * TotalItemCount : 10
//     * AnswerItemCount : 8
//     * Duration : 100
//     * AnswerState : 1
//     */
//
//    public static SaveTrainingDifficultProblemsEntity getSaveTrainingDifficultProblemsJson(
//             String QuesID,
//             String StuID,
//             String StuName,
//             String SubjectID,
//             String StageNo,
//             int ItemFrom,
//             String TypeID,
//             String TypeName,
//             String QuesBrief,
//             List<SaveTrainingDifficultProblemsEntity.StuAnswerBean> StuAnswer,
//             Double CorrectRate,
//             int TotalItemCount,
//             int AnswerItemCount,
//             int Duration,
//             int AnswerState){
//
//        SaveTrainingDifficultProblemsEntity mSaveTrainingDifficultProblemsEntity = new SaveTrainingDifficultProblemsEntity();
//        mSaveTrainingDifficultProblemsEntity.setQuesID(QuesID);
//        mSaveTrainingDifficultProblemsEntity.setStuID(StuID);
//        mSaveTrainingDifficultProblemsEntity.setStuName(StuName);
//        mSaveTrainingDifficultProblemsEntity.setSubjectID(SubjectID);
//        mSaveTrainingDifficultProblemsEntity.setStageNo(StageNo);
//        mSaveTrainingDifficultProblemsEntity.setItemFrom(ItemFrom);
//        mSaveTrainingDifficultProblemsEntity.setTypeID(TypeID);
//        mSaveTrainingDifficultProblemsEntity.setTypeName(TypeName);
//        mSaveTrainingDifficultProblemsEntity.setQuesBrief(QuesBrief);
//        mSaveTrainingDifficultProblemsEntity.setStuAnswer(StuAnswer);
//        mSaveTrainingDifficultProblemsEntity.setCorrectRate(CorrectRate);
//        mSaveTrainingDifficultProblemsEntity.setTotalItemCount(TotalItemCount);
//        mSaveTrainingDifficultProblemsEntity.setAnswerItemCount(AnswerItemCount);
//        mSaveTrainingDifficultProblemsEntity.setDuration(Duration);
//        mSaveTrainingDifficultProblemsEntity.setAnswerState(AnswerState);
//
//        gson = new Gson();
//        return mSaveTrainingDifficultProblemsEntity;
//    }
//
//    public static SaveTrainingDifficultProblemsEntity.StuAnswerBean getStuAnswerBean(
//                int ChildIndex,
//                List<SaveTrainingDifficultProblemsEntity.StuAnswerBean.SubChildListBean> SubChildList){
//
//            SaveTrainingDifficultProblemsEntity.StuAnswerBean mStuAnswerBean = new SaveTrainingDifficultProblemsEntity.StuAnswerBean();
//            mStuAnswerBean.setChildIndex(ChildIndex);
//            mStuAnswerBean.setSubChildList(SubChildList);
//
//            gson = new Gson();
//            return mStuAnswerBean;
//    }
//
//    public static SaveTrainingDifficultProblemsEntity.StuAnswerBean.SubChildListBean getSubChildListBean(
//             String StuAssess,
//             int SubChildIndex,
//             String StuAnswer,
//             String UploadPath){
//
//        SaveTrainingDifficultProblemsEntity.StuAnswerBean.SubChildListBean mSubChildListBean = new SaveTrainingDifficultProblemsEntity.StuAnswerBean.SubChildListBean();
//        mSubChildListBean.setStuAssess(StuAssess);
//        mSubChildListBean.setSubChildIndex(SubChildIndex);
//        mSubChildListBean.setStuAnswer(StuAnswer);
//        mSubChildListBean.setUploadPath(UploadPath);
//
//        gson = new Gson();
//        return mSubChildListBean;
//    }

}
